//
// Created by Gorun on 2022/5/2.
//

#include "Boolean.h"
#include <string>

Boolean::Boolean(bool boolean) {
    this->boolean=boolean;
}

bool Boolean::getBoolean() const {
    return boolean;
}

void Boolean::setBoolean(bool boolean) {
    this->boolean=boolean;
}

std::string Boolean::toString() const {
    if (boolean) {
        return "True";
    } else {
        return "False";
    }
}